package com.kenans.test;

public class Demo1 {
    public static void main(String[] args) {
// Throwable throwable = new Throwable();
        Throwable throwable = new Throwable("穷");
        System.out.println("getMessage" + throwable.getMessage());
        System.out.println("toString" + throwable.toString());
//throwable.printStackTrace();
        test();
    }
    public static void test() {
        new Throwable("前因后果").printStackTrace();
    }
}